/*************************
**Для отображения панели WYSIWYG - начало*/
  div.wysiwyg { border: 1px solid #B3B9C3; padding: 3px; margin: 5px 0 10px 0;background:#fff}
  div.wysiwyg * { margin: 0; padding: 0; }
  div.wysiwyg ul.panel { border-bottom: 1px solid #ccc; float: left; width: 100%; padding: 0 0 4px 0; }
  div.wysiwyg ul.panel li { list-style-type: none; float: left; margin: 0 2px; padding: 0 0 0 0;}
  div.wysiwyg ul.panel li.separator { height: 16px; margin: 0 4px; border-left: 1px solid #ccc; }
  div.wysiwyg ul.panel li a {
   filter:alpha(opacity=60);
   -moz-opacity: 0.6;
   -khtml-opacity: 0.6;
   opacity: 0.6;
	display: block;
	width: 16px;
	height: 16px;
	text-indent: -999999px;
	background: url('../images/jquery.wysiwyg.gif') no-repeat;
	cursor: pointer;
}
  div.wysiwyg ul.panel li a:hover {
   filter:alpha(opacity=99);
   -moz-opacity: 0.99;
   -khtml-opacity: 0.99;
   opacity: 0.99;
}

  div.wysiwyg ul.panel li a.bold { background-position: 0 -16px; }
  div.wysiwyg ul.panel li a.italic { background-position: -16px -16px; }
  div.wysiwyg ul.panel li a.strikeThrough { background-position: -32px -16px; }
  div.wysiwyg ul.panel li a.underline { background-position: -48px -16px; }

  div.wysiwyg ul.panel li a.justifyLeft { background-position: 0 0; }
  div.wysiwyg ul.panel li a.justifyCenter { background-position: -16px 0; }
  div.wysiwyg ul.panel li a.justifyRight { background-position: -32px 0; }
  div.wysiwyg ul.panel li a.justifyFull { background-position: -48px 0; }

  div.wysiwyg ul.panel li a.indent { background-position: -64px 0; }
  div.wysiwyg ul.panel li a.outdent { background-position: -80px 0; }

  div.wysiwyg ul.panel li a.subscript { background-position: -64px -16px; }
  div.wysiwyg ul.panel li a.superscript { background-position: -80px -16px; }

  div.wysiwyg ul.panel li a.undo { background-position: 0 -64px; }
  div.wysiwyg ul.panel li a.redo { background-position: -16px -64px; }

  div.wysiwyg ul.panel li a.insertOrderedList { background-position: -32px -48px; }
  div.wysiwyg ul.panel li a.insertUnorderedList { background-position: -16px -48px; }
  div.wysiwyg ul.panel li a.insertHorizontalRule { background-position: 0 -48px; }

  div.wysiwyg ul.panel li a.h1 { background-position: 0 -32px; }
  div.wysiwyg ul.panel li a.h2 { background-position: -16px -32px; }
  div.wysiwyg ul.panel li a.h3 { background-position: -32px -32px; }
  div.wysiwyg ul.panel li a.h4 { background-position: -48px -32px; }
  div.wysiwyg ul.panel li a.h5 { background-position: -64px -32px; }
  div.wysiwyg ul.panel li a.h6 { background-position: -80px -32px; }

  div.wysiwyg ul.panel li a.cut { background-position: -32px -64px; }
  div.wysiwyg ul.panel li a.copy { background-position: -48px -64px; }
  div.wysiwyg ul.panel li a.paste { background-position: -64px -64px; }
  div.wysiwyg ul.panel li a.myCut { background-position: -32px -64px; }
  
  div.wysiwyg ul.panel li a.increaseFontSize { background-position: -16px -80px; }
  div.wysiwyg ul.panel li a.decreaseFontSize { background-position: -32px -80px; }

  div.wysiwyg ul.panel li a.createLink { background-position: -80px -48px; }
  div.wysiwyg ul.panel li a.insertImage { background-position: -80px -80px; }

  div.wysiwyg ul.panel li a.html { background-position: -48px -48px; }
  div.wysiwyg ul.panel li a.removeFormat { background-position: -80px -64px; }
  
  div.wysiwyg ul.panel li a#insertCode { /*background-position: -64px -80px; */
  background:none repeat scroll 0 0 transparent; color: #555F55; padding-top:1px; text-decoration:none; width:32px;} /*для кнопки вставить код*/

  div.wysiwyg iframe { border: 0; margin: 5px 0 0 0; clear: left; }

textarea { overflow: auto; }
a.richText { color: blue; text-decoration: underline;cursor: pointer; }
/*Для отображения панели WYSIWYG - конец
**************************/